.p-scroll{
    position: fixed;
    z-index: 9;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    font-family: -apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;

    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.p-select-mask{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    cursor: pointer;
    -webkit-animation: p-scroll-fade-in .3s ease both;

    background: rgba(0,0,0,.7);
}
.p-scroll.hide .p-select-mask{
    -webkit-animation: p-scroll-fade-out .3s ease both;
}
.p-select-wrap{
    position: absolute;
    top: 0;
    left: 0;

    display: -webkit-flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;

    width: 100%;
    height: 100%;
}
.p-select-main{
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;

    display: -webkit-flex;
    -webkit-flex-direction: column;

    -webkit-animation: p-scroll-in .3s ease both;

    background: #fff;
    box-shadow: 0 -5px 10px rgba(0,0,0,.1);
}
.p-scroll.hide .p-select-main{
    -webkit-animation: p-scroll-out .3s ease both;
}
@-webkit-keyframes p-scroll-in {
    0%{ -webkit-transform: translate3d(0,100%,0);}
    100%{ -webkit-transform: translate3d(0,0,0);}
}
@-webkit-keyframes p-scroll-out {
    0%{ -webkit-transform: translate3d(0,0,0);}
    100%{ -webkit-transform: translate3d(0,100%,0);}
}
@-webkit-keyframes p-scroll-fade-in {
    0%{ opacity: 0;}
    100%{ opacity: 1;}
}
@-webkit-keyframes p-scroll-fade-out {
    0%{ opacity: 1;}
    100%{ opacity: 0;}
}
.p-select-head{
    position: relative;
    z-index: 5;

    display: -webkit-flex;
    -webkit-align-items: center;
    -webkit-justify-content: space-between;

    height: 45px;

    background: #f2f2f2;

    line-height: 45px;
}
.p-select-head:before{
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: "";
    -webkit-transform: scaleY(.5);

    background-color: #d5d5d6;
}
.p-select-title{
    -webkit-flex: 1;

    text-align: center;

    color: #333;

    font-size: 18px;
}
.p-select-head a{
    display: block;

    height: 45px;
    padding: 0 15px;

    text-decoration: none;

    color: #007aff;

    font-size: 18px;
    line-height: 45px;
}
.p-select-foot{
    position: relative;

    display: -webkit-flex;
    -webkit-align-items: center;

    background-color: #fff;
}
.p-select-foot:before{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: "";
    -webkit-transform: scaleY(0.5);

    background-color: #d5d5d6;
}
.p-select-foot a{
    position: relative;

    display: block;
    -webkit-flex: 1;

    height: 45px;

    text-align: center;
    text-decoration: none;

    color: #007aff;

    font-size: 18px;
    line-height: 45px;
}
.p-select-foot a:before{
    position: absolute;
    top: 0;
    right: 0;

    width: 1px;
    height: 100%;

    content: "";
    -webkit-transform: scaleX(0.5);

    background-color: #d5d5d6;
}
.p-select-foot a:last-child:before{
    display: none;
}
.p-select-body{
    position: relative;

    display: -webkit-flex;
    overflow: hidden;
    -webkit-align-items: center;
    -webkit-justify-content: center;

    box-sizing: border-box;
    width: 100%;
    margin: 20px auto;
}
.p-select-body ul{
    list-style-type: none;
}
.p-select-item {
    position: relative;

    display: -webkit-flex;
    -webkit-align-items: center;

    height: 170px;

    text-align: center;
    /* overflow: hidden; */
}
.p-select-col{
    position: relative;

    height: 100%;
}
.p-select-ul {
    position: relative;

    margin: 0;
    padding: 0;
}
.p-select-list,
.p-select-wheel,
.p-select-line{
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;

    box-sizing: border-box;
    height: 34px;
    margin-top: -17px;

    -webkit-transition: all .3s;
}
.p-select-wheel {
    z-index: 1;

    height: 34px;
    padding: 0;

    -webkit-transform-style: preserve-3d;

}
.p-select-list{
    position: relative;
    z-index: 45;
    top: 68px;

    margin-top: 0;
}
.p-select-line {
    z-index: 100;

    box-sizing: border-box;
    height: 34px;

    pointer-events: none;
}
.p-select-line:before,
.p-select-line:after{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 1px;

    content: "";
    -webkit-transform: scaleY(.5);

    background: #a5a5a5;
}
.p-select-line:after{
    top: auto;
    bottom: 0;
}
.p-select-label{
    z-index: 100;

    display: -webkit-flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;

    box-sizing: border-box;
    min-width: 10px;
    margin: 0 -5px;

    white-space: nowrap;

    color: #666;
}
.p-select-label span{
    position: relative;
    z-index: 50;
    top: -3px;

    display: block;

    text-align: center;

    font-size: 22px;
    font-weight: normal;
}

.p-select-ul>li,
.p-select-wheel>li{
    overflow: hidden;

    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;

    cursor: pointer;
    -webkit-user-select: none;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 21px;
    line-height: 34px;
}
.p-select-ul>li{
    color: #666;

    font-size: 22px;
}
.p-select-wheel>li {
    position: absolute;
    top: 0;

    color: #999;

    -webkit-backface-visibility: hidden;
}
.p-select-wheel>li:active{
    /* opacity: .7;*/
}
.p-select-wheel>li.visible{
    display: list-item;
}
.p-select-time-split-1{
    position: relative;
    top: 0;
    right: 0;
    bottom: 15px;

    width: 1px;
    height: 160px;
    margin: 0 15px;

    -webkit-transform: scaleX(.7) translateZ(200px);

    background: -webkit-linear-gradient(90deg,#fff,#ccc 15%,#ccc 85%,#fff);
}

/*is3d*/
.p-select-wrap.p-3d .p-select-body{
    -webkit-perspective: 1200;
}
.p-select-wrap.p-3d .p-select-list{
    overflow:hidden;

    height: 34px;

    background-color: #fff;
}
.p-select-wrap.p-3d .p-select-ul>li,
.p-select-wrap.p-3d .p-select-label{
    color: #2a2b2c;
}
.p-select-wrap.p-3d .p-select-body:before{
    position: absolute;
    z-index: 5;
    top: -15px;
    right: 0;
    bottom: -15px;
    left: 0;

    content: "";
    -webkit-transform: translate3d(0,0,120px);
    pointer-events: none;

    background: -webkit-linear-gradient(#fff,rgba(255,255,255,0) 52%,rgba(2555,255,255,0) 48%,#fff);
}
.p-select-wrap.p-3d .p-select-line:before{
    top: 1px;
}
.p-select-wrap.p-3d .p-select-line:after{
    bottom: 1px;
}


.p-select-wrap.dark .p-select-main,
.p-select-wrap.dark .p-select-body{
    background-color: #080808;
}
.p-select-wrap.dark .p-select-body:before{
    background: -webkit-linear-gradient(#080808,rgba(8,8,8,0) 52%,rgba(8,8,8,0) 48%,#080808);
}
.p-select-wrap.dark .p-select-head{
    border-bottom: none;
    background-color: #1c1c1c;
}
.p-select-wrap.dark .p-select-head:before{
    background-color: transparent;
}
.p-select-wrap.dark .p-select-head a{
    color: #ff8400;
}
.p-select-wrap.dark .p-select-list,
.p-select-wrap.dark .p-select-ul>li,
.p-select-wrap.dark .p-select-wheel>li{
    background-color: #080808;
}
.p-select-wrap.dark .p-select-line:before,
.p-select-wrap.dark .p-select-line:after{
    background-color: #444;
}
.p-select-wrap.dark .p-select-time-split-1{
    background: -webkit-linear-gradient(90deg,transparent,#333 15%,#333 85%,transparent);
}
.p-select-wrap.dark .p-select-title,
.p-select-wrap.dark .p-select-label,
.p-select-wrap.dark .p-select-ul>li{
    color: #fff;
}
.p-select-wrap.dark .p-select-foot{
    border-top: none;
    background-color: #444;
}
.p-select-wrap.dark .p-select-foot a{
    color: #ff8400;
}
.p-select-wrap.dark .p-select-foot:before,
.p-select-wrap.dark .p-select-foot a:before{
    background-color: #444;
}

/*center*/
.p-center{
    position: relative;
    top: auto;
    left: auto;

    width: auto;

    -webkit-transform: none;
}
.p-center .p-select-head{
    background-color: #f2f2f2;
}
.p-center .p-select-body{
    box-sizing: border-box;
    min-width: 300px;
    padding: 0 25px;

    background-color: #fff;
}
.p-center .p-select-body:before{
    background: -webkit-linear-gradient(#f7f7f7,rgba(245,245,245,0) 52%,rgba(245,245,245,0) 48%,#f7f7f7);
}
.p-center .p-select-main{
    position: relative;
    bottom: auto;

    overflow: hidden;

    max-width: 400px;
    margin: auto;

    -webkit-animation: p-scroll-fade-in .3s ease both;

    border-radius: 10px;
}
.p-scroll.hide .p-center .p-select-main{
    -webkit-animation: p-scroll-fade-out .3s ease both;
}
.p-center .p-select-line{
    border-color: #ccc;
}
.p-center .p-select-list{
    background-color: #fff;
}


/*center dark*/
.p-center.dark .p-select-wrap.dark{
    border: none;
}
.p-center.dark .p-select-head{
    background-color: #000;
}
.p-center.dark .p-select-head:before{
    background-color: #444;
}
.p-center.dark .p-select-foot{
    background-color: #000;
}